package com.xin.di.uav.applet.request;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class AddSpecificationRequest {

    private String productId;

    private List<Record> recordList;

    @Data
    public static class Record {


        private String id;

        /**
         * 产品ID
         */
        private String productId;

        /**
         * 规格类型
         */
        private Integer type;

        /**
         * 规格值
         */
        private String value;


        private String value2;

        private String value3;

        private String value4;
        private String value5;
        /**
         * 价格
         */
        private BigDecimal price;

        /**
         * 描述
         */
        private String description;

        private BigDecimal salePrice;

        private BigDecimal supplyPrice;

        /**
         * 所属商家ID
         */
        private String merchantId;

        /**
         * 创建时间
         */
        private Date createdAt;

        /**
         * 更新时间
         */
        private Date updatedAt;

        private Integer stock;
    }
}
